package ui;

import java.awt.datatransfer.DataFlavor;
import java.awt.dnd.DropTargetAdapter;
import java.awt.dnd.DropTargetDragEvent;
import java.awt.dnd.DropTargetDropEvent;
import java.io.File;
import java.util.List;

public class GPSDropListener extends DropTargetAdapter {

	@Override
	public void drop(DropTargetDropEvent dtde) {
		System.out.println("Dropped da bomb");
		DataFlavor[] d = dtde.getCurrentDataFlavors();
		for (DataFlavor dataFlavor : d) {
			System.out.println(dataFlavor.getPrimaryType());
		}
	}

	@Override
	public void dropActionChanged(DropTargetDragEvent dtde) {
		System.out.println("Dropped da bomb changed ");
	}

}
